//
// Created by ZhangKewei on 2019/12/24.
//

#ifndef LINUX_GETSYSINFO_H
#define LINUX_GETSYSINFO_H
double cpu_rate();
double mem_rate();
double fs_rate(void);
int io_cnt(unsigned int *rw_num, unsigned long long *rw_bytes);
int getstatfs(char *path,struct statfs *fs);
void sys_info_write_to_log();
void data_write_to_csvfile(void);
void show_sys_info();
void get_sys_info();

#endif //LINUX_GETSYSINFO_H
